﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 获取数组信息请求参数
    /// </summary>
    public class GetSiteInfoParam
    {
        /// <summary>
        /// id
        /// </summary>
        [JsonProperty("id"), JsonPropertyName("id")]
        [Required(ErrorMessage = nameof(ErrorResultEnum.IdIsNull))]
        public long Id { get; set; }
    }
}
